<?php
include_once("../globalno.php");
header("Content-type: text/html;charset=GB2312");
			        $op_time=date("Y-m-d H:i:s");
				    $db->fn_insert('dfastcfg','doc_id,type_name,sort,doc_type,op_no,op_time',
                                       "'','".$_REQUEST['adn22']."','0',
                                       '".$_REQUEST['adn33']."','$session_loginno','$op_time'");
				    
				    $last_id = $db->insert_id();
				    
echo typesStr(2,$_REQUEST['adn44'],fs_type,$last_id,$_REQUEST['adn33']);
?>				    